<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			
			var person={
				name:"tony",
				age:18,
				tostring:function(){
					return this.name+this.age;
				}
				};
				
			person.toUp=function(){
				return this.name.toUpperCase();
			}
			alert(person)
			alert(person.name)
			alert(person.age)
			console.log(person)
			console.table(person)
			console.log(person.tostring())
			console.log(person.toUp())
			
		</script>
		
	</head>
	<body>
	</body>
</html>
